#include<iostream>
using namespace std;
int main()
{
	int sum = 0;
	int n;
	cin >> n;
	for (int i = 0; i < n; i++) {
		for (int j = 0; j <= i; j++) {
			for (int k = 0; k <= j; k++) {
				sum++;
			}
	    }
	}
	//sum=n*(n+1)*(n+2)/6
	cout << sum << endl;
	return 0;
}

